home *** CD-ROM | disk | FTP | other *** search
/ Carousel / CAROUSEL.cdr / mactosh / util / simulare.sit / Simula 4.07 Reference / card_57127.txt < prev    next >
Text File  |  1989-05-02  |  1KB  |  40 lines

  1. -- card: 57127 from stack: in.07 Reference
  2. -- bmap block id: 0
  3. -- flags: 0000
  4. -- background id: 13647
  5. -- name: 
  6.  
  7.  
  8. -- part 1 (button)
  9. -- low flags: 00
  10. -- high flags: A004
  11. -- rect: left=17 top=215 right=237 bottom=121
  12. -- title width / last selected line: 0
  13. -- icon id / first selected line: 0 / 0
  14. -- text alignment: 1
  15. -- font id: 0
  16. -- text size: 12
  17. -- style flags: 0
  18. -- line height: 16
  19. -- part name: Initial values
  20. ----- HyperTalk script -----
  21. on mouseUp
  22.   go to card id 45416
  23. end mouseUp
  24.  
  25.  
  26.  
  27.  
  28. -- part contents for background part 2
  29. ----- text -----
  30. Array declaration
  31.  
  32. -- part contents for background part 1
  33. ----- text -----
  34.  
  35. Note that a colon is used to separate the lower bound from the upper bound in an array declaration. It is possible to declare empty arrays, where the upper bound is equal to the lower bound - 1.
  36.  
  37. The short-hand form "array A,B,C(1:100),D,E(1:10)" is equivalent to "array A(1:100),
  38. B(1:100),C(1:100),D(1:10),E(1:10)".
  39.  
  40. All elements of an array are initialized according to the same rules as hold for simple variables.